package cn.itcast.Synchronized;

/**
 * @Author : 叶荻风
 * @create : 2024/8/13 10:50
 */
public class SynchronizedDemo {
    public void method() {
        synchronized (this) {
            System.out.println("synchronized 代码块");
        }
    }
}
